# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer: Alexander Willing <willing.alexander@googlemail.com>
pkgname=enet
pkgver=1.3.17
pkgrel=2
pkgdesc="Reliable UDP networking library"
options="!check" # No testsuite
url="http://enet.bespin.org"
arch="all"
license="MIT"
subpackages="$pkgname-dev"
source="http://enet.bespin.org/download/enet-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr --disable-static
	make
}

package() {
	make DESTDIR="$pkgdir/" install
}

sha512sums="efa0cb093a6ca295e5012a4fdebc5ffd6516a66a967e97b386b72781b18ce4a118c9bf94e87adbbdcd0ed441e22c62a05c24ff39fd6b475919e8efe9ab4715e4  enet-1.3.17.tar.gz"
